const buttonCounter = {
    data: function () {
        return {
            count:0,
            list:[
                {Name:"张三",Age:"25"},
                {Name:"张三2",Age:"32"},
                {Name:"张三3",Age:"28"},
            ],
        }
    },
    methods: {
        addCount(){
            this.count++
            console.log(this.count)
        }
    },
    template: `<div><h2 v-for="val in list" v-text="val.Name" @click="addCount"></h2></div>`
}

const $msg = {
    haha:function () {
        alert(123)
    }
}